package com.hongye.third.feign;

import com.hongye.third.vo.HongyeHouse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * @progam:hongye-house
 * @author:GJS
 * @Time:2022/4/20 18:51
 */
@FeignClient("hongye-backstage")
public interface HongyeHouseFeign {

    @RequestMapping("/Backstage/House/addHouse")
    void addHouse(@RequestBody List<HongyeHouse> list);

}
